﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.master" CodeBehind="IssuesNew.aspx.cs"
    Inherits="AccessWare.IssuesNew" %>
    
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
	<script type="text/javascript">
	    $(document).ready(function () {
	        var dp = $('#<%=DateTextbox.ClientID%>');
	        dp.datepicker({
	            changeMonth: true,
	            changeYear: true,
	            format: "dd.mm.yyyy",
	            language: "tr"
	        }).on('changeDate', function (ev) {
	            $(this).blur();
	            $(this).datepicker('hide');
	        });
	    });
</script>


</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <h2>
            Issue Enteries</h2>
        <br />
        <div style="display: inline-block;">
            <table>
                <tr>
                    <td>
                        Date
                    </td>
                    <td>
                        <asp:TextBox ID="DateTextbox" runat="server"></asp:TextBox>

<%--  <input type="text" id="datepicker"/>--%>
                       
                       
                    </td>
                </tr>
                <tr>
                    <td>
                        Truck No.
                    </td>
                    <td>
                        <asp:TextBox ID="txt_truck" runat="server"></asp:TextBox>
                     
                    </td>
                </tr>
                <tr>
                    <td>
                        No. of Bags
                    </td>
                    <td>
                        <asp:TextBox ID="txt_noofbags" runat="server"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txt_noofbags"

ErrorMessage="Please Enter Only Numbers" ValidationExpression="^\d+$" ValidationGroup="check"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        DISPATCHED GR WT.
                    </td>
                    <td>
                        <asp:TextBox ID="txt_gross" runat="server"></asp:TextBox>
                        



                    </td>
                </tr>
                <tr>
                    <td>
                        GRADE
                    </td>
                    <td>
                        <asp:TextBox ID="txt_grade" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        L R No.
                    </td>
                    <td>
                        <asp:TextBox ID="txt_lrno1" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        NAME OF THE TRANSPORTER
                    </td>
                    <td>
                        <asp:TextBox ID="txt_nameoftrans" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div style="display: inline-block;">
            <table>
                <tr>
                    <td>
                        Destination
                    </td>
                    <td>
                        <asp:TextBox ID="txt_Destination" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        VALUE (Rs.)
                    </td>
                    <td>
                        <asp:TextBox ID="txtValue" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        STACK NO.
                    </td>
                    <td>
                        <asp:TextBox ID="txt_stackno" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        ORIGINATING HUB.
                    </td>
                    <td>
                        <asp:TextBox ID="txt_originatin" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        STA NO.
                    </td>
                    <td>
                        <asp:TextBox ID="txt_stano" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        Remarks
                    </td>
                    <td>
                        <asp:TextBox ID="txt_Remarks" TextMode="MultiLine" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <asp:Label ID="LBLSAVE" runat="server" Visible="false" /><br />
    <asp:Button ID="btn_issue" runat="server" Text="Save" class="btn btn-large btn-primary" OnClick="btn_issue_Click" />
</asp:Content>
